package com.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.core.vo.OperationLogVo;
import com.core.domain.OperationLogs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OperationLogMapper extends BaseMapper<OperationLogs> {
    /**
     * 分页查询操作日志
     *
     * @param pageSize 每页大小
     * @param pageNum 起始索引
     * @param query 查询条件
     * @return 操作日志列表
     */
    List<OperationLogVo> selectPage(@Param("pageSize") Long pageSize, @Param("pageNum") Long pageNum, @Param("query") OperationLogs query);
} 